package com.teach.basic.model.po;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 文章表
 * </p>
 *
 * @author hzz
 * @since 2020-03-10
 */
@Data
@ToString
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    private String id;

    private String title;

    private String content;

    private String type;

    private String associatorId;

    private String refuseReason;

    private String status;

    private String thumbnailUrl;

    private String sortIndex;

    private Integer praiseTimes;

    private Integer commentTimes;

    private Integer viewTimes;

    private Integer viewTimesReal;

    private Integer viewTimesRandom;

    private String excellent;

    private String merchantId;

    private String foodsId;

    private String imageCode;

    private Double discount;

    private Integer popularity;

    private LocalDateTime passtime;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;

    private String state;

}
